package net.siufung.market.base.region.controller.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;

/**
 * @author 陈建峰
 * @date 2023/1/28 10:50 PM
 * @since V1.0.0
 */
@Slf4j
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RegionTreeDto")
public class RegionTreeDto implements Serializable {

    private static final long serialVersionUID = 4163082094523471011L;

    /**
     * 区域名称
     */
    @ApiModelProperty(value = "区域名称")
    private String name;

    /**
     * 区划代码
     */
    @ApiModelProperty(value = "区划代码")
    private String code;

    /**
     * 省Id
     */
    @ApiModelProperty(value = "省Id")
    private Integer provinceId;

    /**
     * 市Id
     */
    @ApiModelProperty(value = "市Id")
    private Integer cityId;

    /**
     * 区Id
     */
    @ApiModelProperty(value = "区Id")
    private Integer areaId;
}
